<!--%import("css/referer.css")-->

<h3 class="xeAdmin">{$lang->referer} <span class="gray">{$lang->cmd_management}</span></h3>

<table cellspacing="0" class="rowTable ">
<caption>Total {number_format($total_count)} Page {number_format($page)}/{number_format($total_page)}</caption>
<tbody>
    <!--@foreach($referer_list as $no => $val)-->
    <tr class="row{$cycle_idx}">
        <td class="tahoma">{zdate($val->regdate,"Y-m-d")}</td>
        <td class="tahoma">{$val->host}</td>
        <td class="tahoma refererUrl"><a href="{$val->url}">{$val->url}</a></td>
    </tr>
    <!--@end-->
</tbody>
</table>

<!-- 페이지 네비게이션 -->
<div class="pagination a1">
    <a href="{getUrl('page','','module_srl','')}" class="prevEnd">{$lang->first_page}</a> 
    <!--@while($page_no = $page_navigation->getNextPage())-->
        <!--@if($page == $page_no)-->
            <strong>{$page_no}</strong> 
        <!--@else-->
            <a href="{getUrl('page',$page_no,'module_srl','')}">{$page_no}</a> 
        <!--@end-->
    <!--@end-->
    <a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}" class="nextEnd">{$lang->last_page}</a>
</div>

<h4 class="xeAdmin">{$lang->ranking}</h4>
<table cellspacing="0" class="rowTable">
<tbody>
<!--{$rank = 1}-->
    <!--@foreach($referer_status as $no => $val)-->
    <tr class="row{$cycle_idx}">
        <td class="number center">{$rank} </td>
        <td class="wide">{$val->host}</td>
        <td class="number center">{$val->count}</td>
        <td class="delete center"><a href="{getUrl('act','dispRefererAdminDeleteStat','host',$val->host)}" title="{$lang->cmd_delete}" class="buttonSet buttonDelete"><span>{$lang->cmd_delete}</span></a></td>
    </tr>
<!--{$rank += 1} -->
    <!--@end-->
</tbody>
    </table>
